PDB Lookup for Safari - installation (macOS)
============================================

1. Unzip this archive and drag "PDB Lookup.app" into your Applications folder.
   It needs to stay there: Safari loads the extension from the app.

2. Open "PDB Lookup.app" once. A small window appears - that's all it does.

3. In Safari: Settings > Extensions, and tick "PDB Lookup".

4. Safari asks whether the extension may access websites. Allow it on the sites
   where you want to look up PDB IDs (or "Always Allow on Every Website"). It needs
   to see your selection there to decide whether to offer the menu item, and it
   fetches data from RCSB PDB (data.rcsb.org, files.rcsb.org, cdn.rcsb.org).


Using it
--------
Select a PDB ID on a web page - e.g.  6QUT  or  pdb_00006qut  - right-click,
and choose  View PDB entry "6QUT".  The item only appears when the selection is
exactly one PDB ID.

A window opens with three tabs:
  show 2D   picture of the structure plus a summary (method, resolution, chains...)
  3D        interactive 3D view: drag to rotate, scroll to zoom
  Ligands   2D drawing of each ligand with its PDB ligand ID; use < > or the
            arrow keys to move between them. "Show in 3D" zooms onto it.

"Download mmCIF.gz" saves the entry as a gzip-compressed PDBx/mmCIF file.


Things worth knowing
--------------------
- Only the PDB ID you choose is sent anywhere, and only to RCSB PDB.
  Nothing is stored.

- Safari does not let extensions run on its own settings pages, the Extensions
  Gallery, or PDFs. Use a normal web page.

- To remove it: untick it in Settings > Extensions, then delete the app.
